import axios from 'axios';

// 进行登录
const postUserLogin = form => axios.post('/api/v1/user/login', form).then(res => res.data);

// 获取当前登录用户
const getUserMe = () => axios.get('/api/v1/user/me').then(res => res.data);

export {
  postUserLogin,
  getUserMe,
}
